<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<script src="js/layui/layui.js"></script>
		<script type="text/javascript" src="static/plugin/jquery/jquery-1.12.4.min.js"></script>

		<script type="text/javascript" src="static/util/helper.js"></script>
		<script type="text/javascript" src="static/util/layer-util.js"></script>
	</head>

	<body>
		<div class="details-body">
		</div>

		<script>
			var params = myHelper.getAllUrlParam();
			
			var id = params.id;
			var name = params.name;
			var k = id; //name+","+id;

			layui.config({
				base: 'js/src/' //指定 layuiAdmin 项目路径，本地开发用 src，线上用 dist 
					,
				version: new Date().getTime()

			}).use(['index', 'admin'], function() {
				var admin = layui.admin,
					router = layui.router(),
					search = router.search;

				LayerUtil.ajax({
					url: admin.basePath + '/dynamic/zform/getHashByKey?key='+k,
					type: 'get',
					success: function(res) {
						location.href = "https://www.confluxscan.io/transaction/"+ res.data.data;
					}	
				})

			});
		</script>

	</body>

</html>